package com.hksj.acm.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;

/**
 * @author fjt
 * @data 2024/7/17 14:37
 * @describe 按类别统计报警信息入参
 */
@Data
public class AlarmKindNumDTO implements Serializable {

    private static final long serialVersionUID = -2315973318591521301L;

    @ApiModelProperty("设备位置路径(当按楼层查时)")
    private String paths;

    @ApiModelProperty("科室字典明细值(当按病区/科室查时)")
    private String departmentItemValue;

    @ApiModelProperty(value = "专业名称code", hidden = true)
    private String code;

    @ApiModelProperty(value = "报警类型(1=设备报警记录 2=机组故障记录)", hidden = true)
    private Integer alarmType;

    @ApiModelProperty(value = "监测指标", hidden = true)
    private String property;

    @ApiModelProperty("查询起始时间 yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date startTime;

    @ApiModelProperty("查询截止时间 yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;


}
